Skip to content

Fix front matter validation for posts with colocated assets #1586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 17, 2025

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Apr 17, 2025

senekor added 3 commits April 17, 2025 19:17
The previous approach that only looked for markdown files in content/
and content/inside-rust/ stopped working when we started using Zola's
feature of colocating a blog post with its assets. In those cases, the
markdown file might be located at content/<slug>/index.md.
These were previously missed because the front matter validation tests
did not descend into the individual directories of posts with colocated
assets.
@senekor senekor requested a review from Manishearth April 17, 2025 17:27
@senekor senekor merged commit 4b0bd04 into master Apr 17, 2025
5 checks passed
@senekor senekor deleted the senekor/qkkxqmsxwvot branch April 17, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants